import request from '@/router/axios';

// 获取订单配置
export const getTimingReportConfig = params => {
  return request({
    url: '/api/beetles-business/v1/timing-report/config-item',
    method: 'GET',
    params
  })
}

// 保存订单
export const submitTimingReportConfig = data => {
  return request({
    url: '/api/beetles-business/v1/timing-report/submit',
    method: 'POST',
    data
  })
}

// 获取订单列表
export const getTimingReportList = (data,page) => {
  return request({
    url: '/api/beetles-business/v1/timing-report/page',
    method: 'POST',
    params:{...page},
    data:{...data}
  })
}
// 删除订单
export const removeTimingReportByIds = ids => {
  return request({
    url: '/api/beetles-business/v1/timing-report/remove',
    method: 'POST',
    params: {
      ids
    }
  })
}
